package com.platform.omp.OperationalModule.customerInjure.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * HR_ORG_COMP
 * @author 
 */
public class HrOrgComp implements Serializable {
    private String compNo;

    private String compType;

    private String compId;

    private String compName;

    private String compShort;

    private String compPerson;

    private Date compEstdate;

    private String compAddress;

    private String memo;

    private Date createTime;

    private Date lastupdateTime;

    private Byte isDel;

    private Integer fOrder;

    private static final long serialVersionUID = 1L;

    public String getCompNo() {
        return compNo;
    }

    public void setCompNo(String compNo) {
        this.compNo = compNo;
    }

    public String getCompType() {
        return compType;
    }

    public void setCompType(String compType) {
        this.compType = compType;
    }

    public String getCompId() {
        return compId;
    }

    public void setCompId(String compId) {
        this.compId = compId;
    }

    public String getCompName() {
        return compName;
    }

    public void setCompName(String compName) {
        this.compName = compName;
    }

    public String getCompShort() {
        return compShort;
    }

    public void setCompShort(String compShort) {
        this.compShort = compShort;
    }

    public String getCompPerson() {
        return compPerson;
    }

    public void setCompPerson(String compPerson) {
        this.compPerson = compPerson;
    }

    public Date getCompEstdate() {
        return compEstdate;
    }

    public void setCompEstdate(Date compEstdate) {
        this.compEstdate = compEstdate;
    }

    public String getCompAddress() {
        return compAddress;
    }

    public void setCompAddress(String compAddress) {
        this.compAddress = compAddress;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getLastupdateTime() {
        return lastupdateTime;
    }

    public void setLastupdateTime(Date lastupdateTime) {
        this.lastupdateTime = lastupdateTime;
    }

    public Byte getIsDel() {
        return isDel;
    }

    public void setIsDel(Byte isDel) {
        this.isDel = isDel;
    }

    public Integer getfOrder() {
        return fOrder;
    }

    public void setfOrder(Integer fOrder) {
        this.fOrder = fOrder;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        HrOrgComp other = (HrOrgComp) that;
        return (this.getCompNo() == null ? other.getCompNo() == null : this.getCompNo().equals(other.getCompNo()))
            && (this.getCompType() == null ? other.getCompType() == null : this.getCompType().equals(other.getCompType()))
            && (this.getCompId() == null ? other.getCompId() == null : this.getCompId().equals(other.getCompId()))
            && (this.getCompName() == null ? other.getCompName() == null : this.getCompName().equals(other.getCompName()))
            && (this.getCompShort() == null ? other.getCompShort() == null : this.getCompShort().equals(other.getCompShort()))
            && (this.getCompPerson() == null ? other.getCompPerson() == null : this.getCompPerson().equals(other.getCompPerson()))
            && (this.getCompEstdate() == null ? other.getCompEstdate() == null : this.getCompEstdate().equals(other.getCompEstdate()))
            && (this.getCompAddress() == null ? other.getCompAddress() == null : this.getCompAddress().equals(other.getCompAddress()))
            && (this.getMemo() == null ? other.getMemo() == null : this.getMemo().equals(other.getMemo()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getLastupdateTime() == null ? other.getLastupdateTime() == null : this.getLastupdateTime().equals(other.getLastupdateTime()))
            && (this.getIsDel() == null ? other.getIsDel() == null : this.getIsDel().equals(other.getIsDel()))
            && (this.getfOrder() == null ? other.getfOrder() == null : this.getfOrder().equals(other.getfOrder()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getCompNo() == null) ? 0 : getCompNo().hashCode());
        result = prime * result + ((getCompType() == null) ? 0 : getCompType().hashCode());
        result = prime * result + ((getCompId() == null) ? 0 : getCompId().hashCode());
        result = prime * result + ((getCompName() == null) ? 0 : getCompName().hashCode());
        result = prime * result + ((getCompShort() == null) ? 0 : getCompShort().hashCode());
        result = prime * result + ((getCompPerson() == null) ? 0 : getCompPerson().hashCode());
        result = prime * result + ((getCompEstdate() == null) ? 0 : getCompEstdate().hashCode());
        result = prime * result + ((getCompAddress() == null) ? 0 : getCompAddress().hashCode());
        result = prime * result + ((getMemo() == null) ? 0 : getMemo().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getLastupdateTime() == null) ? 0 : getLastupdateTime().hashCode());
        result = prime * result + ((getIsDel() == null) ? 0 : getIsDel().hashCode());
        result = prime * result + ((getfOrder() == null) ? 0 : getfOrder().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", compNo=").append(compNo);
        sb.append(", compType=").append(compType);
        sb.append(", compId=").append(compId);
        sb.append(", compName=").append(compName);
        sb.append(", compShort=").append(compShort);
        sb.append(", compPerson=").append(compPerson);
        sb.append(", compEstdate=").append(compEstdate);
        sb.append(", compAddress=").append(compAddress);
        sb.append(", memo=").append(memo);
        sb.append(", createTime=").append(createTime);
        sb.append(", lastupdateTime=").append(lastupdateTime);
        sb.append(", isDel=").append(isDel);
        sb.append(", fOrder=").append(fOrder);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}